﻿using System;
using Htss.Platform.Data;

namespace DreamBox.Model
{
    [Table(Name = "dbox_FileContents")]
    public class FileContents:BasicModel
    {
        /// <summary>
        /// 内容ID
        /// </summary>
        [Field(Name = "FileID",DbFieldType=DbFieldType.PrimaryKey)]
        public int? FileID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [Field(Name="Title")]
        public string Title { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        [Field(Name="Url")]
        public string Url { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [Field(Name = "Contents")]
        public string Contents { get; set; }
       
        /// <summary>
        /// 发布人
        /// </summary>
        [Field(Name = "UserID")]
        public int? UserID { get; set; }
        /// <summary>
        /// 浏览次数
        /// </summary>
        [Field(Name = "BrowseCount")]
        public int? BrowseCount { get; set; }
        /// <summary>
        /// 鉴定属性
        /// </summary>
        [Field(Name = "Property")]
        public int? Property { get; set; }
        /// <summary>
        /// 发帖时间
        /// </summary>
        [Field(Name = "PostDate")]
        public DateTime? PostDate { get; set; }
        /// <summary>
        /// +1次数
        /// </summary>
        [Field(Name = "Plus")]
        public int? Plus { get; set; }
        /// <summary>
        /// 状态(是否显示)
        /// </summary>
        [Field(Name = "IsStatus")]
        public bool? IsStatus { get; set; }
        /// <summary>
        /// 所属分类
        /// </summary>
        [Field(Name = "CID")]
        public int? CID { get; set; }
        /// <summary>
        /// 排序(从小到大)
        /// </summary>
        [Field(Name="Sort")]
        public int? Sort { get; set; }
    }
}
